package com.liangtian.mdm.dm.sql.enums;

/**
 * 数据类型
 *
 * @author honye
 */
public enum Component {

    TEXT("text", "文本框"),
    DATE("date", "日期"),
    DATETIME("dateTime", "时间"),

    CHKECKBOX("checkbox", "复选框"),
    RADIO("radio", "单选框"),
    SELECT("select", "下拉框"),

    TEXTAREA("textArea", "文本域"),
    BUTTON("button", "按钮"),
    NUMBER("number", "数据"),

    FILE("file", "文件"),
    IMAGE("image", "图片"),
    EDITOR("editor", "大文本");

    private String name;
    private String desc;

    private Component(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public String getDesc() {
        return desc;
    }


}
